package com.yanfan.attach.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yanfan.attach.domain.DeviceDetail;
import com.yanfan.common.core.domain.AjaxResult;
import com.yanfan.iot.domain.Device;

import java.util.List;

public interface IDeviceDetailService extends IService<DeviceDetail> {


    /**
     * 新增设备
     *
     * @param device 设备
     * @return 结果
     */
    DeviceDetail insertDeviceDetail(DeviceDetail device);

    AjaxResult updateDeviceDetail(DeviceDetail device);

    List<DeviceDetail> selectAllDeviceShortList(DeviceDetail device);

}
